/*! \file Primitive.inl
 *	\brief 
 *
 *	created:	2009/11/17
 *	created:	17:11:2009   14:21
 *	filename: 	o:\main\libs\gd\Primitive.inl
 *	file path:	o:\main\libs\gd
 *	file base:	Primitive
 *	file ext:	inl
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */
namespace tt{
namespace gd{

inline
Primitive::Primitive(void)
{
}

inline
Primitive::~Primitive(void)
{
}

inline
void Primitive::setBuffers( const SharedPtr<IndexBuffer>& indexBuffer, const SharedPtr<VertexBuffer>& vertexBuffer )
{
	m_indexBuffer = indexBuffer;
	m_vertexBuffer = vertexBuffer;
}

inline
SharedPtr<IndexBuffer>& Primitive::indexBuffer()
{
	return m_indexBuffer;
}

} //namespace gd
} //namespace tt
